package com.zl.tby.core.constant;

/**
 * author: Nyx
 * date: 2023/5/17 14:49
 * description: 状态码
 */

public interface HttpStatus {
    Integer OK = 200;
    Integer CREATED = 201;
    Integer ACCEPTED = 202;
    Integer BAD_REQUEST = 400;
    Integer UNAUTHORIZED = 401;
    Integer FORBIDDEN = 403;
    Integer NOT_FOUND = 404;
    Integer BAD_METHOD = 405;
    Integer NOT_ACCEPTABLE = 406;
    Integer PROXY_AUTH = 407;
    Integer CLIENT_TIMEOUT = 408;
    Integer CONFLICT = 409;
    Integer GONE = 410;
    Integer LENGTH_REQUIRED = 411;
    Integer PRECON_FAILED = 412;
    Integer ENTITY_TOO_LARGE = 413;
    Integer REQ_TOO_LONG = 414;
    Integer UNSUPPORTED_TYPE = 415;
    Integer INTERNAL_ERROR = 500;
    Integer NOT_IMPLEMENTED = 501;
    Integer BAD_GATEWAY = 502;
    Integer UNAVAILABLE = 503;
    Integer GATEWAY_TIMEOUT = 504;
    Integer VERSION = 505;
}
